#include "builder.h"

Builder::Builder()
{
    _globalId = 0;
}


void Builder::setData(int globalId, QString modelFilter, QSharedPointer<QSqlRelationalTableModelWithReconnection> model)
{
    _modelFilter = modelFilter;
    _model = model;
    _globalId = globalId;
}

void Builder::setData(int globalId, QVector<QSqlRecord> rowRecord)
{
    _rowRecord = rowRecord;
    _globalId = globalId;
}


int Builder::getGlobalId()
{
    return _globalId;
}
